<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>XMP Toolkit SDK: AdobeXMPCommon::IErrorNotifier_v1 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xmp_tagline_small.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">XMP Toolkit SDK
   &#160;<span id="projectnumber">6.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classAdobeXMPCommon_1_1IErrorNotifier__v1.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classAdobeXMPCommon_1_1IErrorNotifier__v1-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">AdobeXMPCommon::IErrorNotifier_v1 Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Version1 of the interface that represents an interface to be implemented by client in case he is interested in getting notifications with respect to errors/warnings encountered by library.  
 <a href="classAdobeXMPCommon_1_1IErrorNotifier__v1.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="IErrorNotifier_8h_source.html">IErrorNotifier.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ace4799050050f28ac3706b1de8940769"><td class="memItemLeft" align="right" valign="top">virtual bool APICALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAdobeXMPCommon_1_1IErrorNotifier__v1.html#ace4799050050f28ac3706b1de8940769">Notify</a> (const <a class="el" href="namespaceAdobeXMPCommon.html#a3f0de5ba5753a56896f2941927b23560">spcIError</a> &amp;error)=0</td></tr>
<tr class="memdesc:ace4799050050f28ac3706b1de8940769"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by the library to notify the client about the warning/error.  <a href="classAdobeXMPCommon_1_1IErrorNotifier__v1.html#ace4799050050f28ac3706b1de8940769">More...</a><br /></td></tr>
<tr class="separator:ace4799050050f28ac3706b1de8940769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc06a757c78bc5e3049048839801949d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAdobeXMPCommon_1_1IErrorNotifier__v1.html#afc06a757c78bc5e3049048839801949d">~IErrorNotifier_v1</a> ()</td></tr>
<tr class="separator:afc06a757c78bc5e3049048839801949d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a6b08a4aa1295fae50fe52c60787b3037"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAdobeXMPCommon_1_1IErrorNotifier__v1.html#a6b08a4aa1295fae50fe52c60787b3037">REQ_FRIEND_CLASS_DECLARATION</a> ()</td></tr>
<tr class="separator:a6b08a4aa1295fae50fe52c60787b3037"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Version1 of the interface that represents an interface to be implemented by client in case he is interested in getting notifications with respect to errors/warnings encountered by library. </p>
<p>In case client is interested in error notifications he can implement this interface and register the same with the #AdobeXMPCommon::IConfigurationManager. For every warning or error encountered the NotifyError function will be called by the library. In case of warnings ( indicated by the severity of the error ) the client has the option to continue ignoring the warning by returning true else he can return false and the warning will be thrown aborting the current operation. </p>

<p class="definition">Definition at line <a class="el" href="IErrorNotifier_8h_source.html#l00029">29</a> of file <a class="el" href="IErrorNotifier_8h_source.html">IErrorNotifier.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="afc06a757c78bc5e3049048839801949d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc06a757c78bc5e3049048839801949d">&#9670;&nbsp;</a></span>~IErrorNotifier_v1()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual AdobeXMPCommon::IErrorNotifier_v1::~IErrorNotifier_v1 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="IErrorNotifier_8h_source.html#l00039">39</a> of file <a class="el" href="IErrorNotifier_8h_source.html">IErrorNotifier.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;{}</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ace4799050050f28ac3706b1de8940769"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace4799050050f28ac3706b1de8940769">&#9670;&nbsp;</a></span>Notify()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool APICALL AdobeXMPCommon::IErrorNotifier_v1::Notify </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceAdobeXMPCommon.html#a3f0de5ba5753a56896f2941927b23560">spcIError</a> &amp;&#160;</td>
          <td class="paramname"><em>error</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Called by the library to notify the client about the warning/error. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">error</td><td>const pointer to a #AdobeXMPCommon::IError. Client can use the information in the error to decide what should be the future course of action. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A value of bool type that will indicate the future course of action. </dd></dl>

</div>
</div>
<a id="a6b08a4aa1295fae50fe52c60787b3037"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b08a4aa1295fae50fe52c60787b3037">&#9670;&nbsp;</a></span>REQ_FRIEND_CLASS_DECLARATION()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">AdobeXMPCommon::IErrorNotifier_v1::REQ_FRIEND_CLASS_DECLARATION </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>public/include/XMPCommon/Interfaces/<a class="el" href="IErrorNotifier_8h_source.html">IErrorNotifier.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceAdobeXMPCommon.html">AdobeXMPCommon</a></li><li class="navelem"><a class="el" href="classAdobeXMPCommon_1_1IErrorNotifier__v1.html">IErrorNotifier_v1</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
